﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities
{
    // Entity ChiTietSanPham map with SanPham Table
    public class ChiTietSanPham
    {
        // properties
        private int maSP;
        private string heDieuHanh;
        private string ngonNgu;
        private string manHinh;
        private string cameraSau;
        private string cameraTruoc;
        private string denFlash;
        private string cPU;
        private int soNhan;
        private string ram;
        private string rom;
        private string theNhoNgoai;
        private string hoTroToiDa;
        private string kichThuoc;
        private int trongLuong;
        private string dungLuongPin;
        private string chuan3G;
        private string chuan4G;
        private string loaiSim;
        private string wifi;
        private string gPS;
        private bool bluetooth;
        private bool gPRS;
        private string jackCamTaiNghe;
        private bool ghiAm;
        private bool ngheNhac;
        private bool fMRadio;

        // Setters and Getters

        public int MaSP
        {
            get { return maSP; }
            set { maSP = value; }
        }
        public string HeDieuHanh
        {
            get { return heDieuHanh; }
            set { heDieuHanh = value; }
        }
        public string NgonNgu
        {
            get { return ngonNgu; }
            set { ngonNgu = value; }
        }
        public string ManHinh
        {
            get { return manHinh; }
            set { manHinh = value; }
        }
        public string CameraSau
        {
            get { return cameraSau; }
            set { cameraSau = value; }
        }
        public string DenFlash
        {
            get { return denFlash; }
            set { denFlash = value; }
        }
        public string CameraTruoc
        {
            get { return cameraTruoc; }
            set { cameraTruoc = value; }
        }
        public string CPU
        {
            get { return cPU; }
            set { cPU = value; }
        }
        public int SoNhan
        {
            get { return soNhan; }
            set { soNhan = value; }
        }
        public string Ram
        {
            get { return ram; }
            set { ram = value; }
        }
        public string Rom
        {
            get { return rom; }
            set { rom = value; }
        }
        public string TheNhoNgoai
        {
            get { return theNhoNgoai; }
            set { theNhoNgoai = value; }
        }
        public string HoTroToiDa
        {
            get { return hoTroToiDa; }
            set { hoTroToiDa = value; }
        }
        public string KichThuoc
        {
            get { return kichThuoc; }
            set { kichThuoc = value; }
        }
        public int TrongLuong
        {
            get { return trongLuong; }
            set { trongLuong = value; }
        }
        public string DungLuongPin
        {
            get { return dungLuongPin; }
            set { dungLuongPin = value; }
        }
        public string Chuan3G
        {
            get { return chuan3G; }
            set { chuan3G = value; }
        }
        public string Chuan4G
        {
            get { return chuan4G; }
            set { chuan4G = value; }
        }
        public string LoaiSim
        {
            get { return loaiSim; }
            set { loaiSim = value; }
        }
        public string Wifi
        {
            get { return wifi; }
            set { wifi = value; }
        }
        public string GPS
        {
            get { return gPS; }
            set { gPS = value; }
        }
        public bool Bluetooth
        {
            get { return bluetooth; }
            set { bluetooth = value; }
        }
        public bool GPRS
        {
            get { return gPRS; }
            set { gPRS = value; }
        }
        public string JackCamTaiNghe
        {
            get { return jackCamTaiNghe; }
            set { jackCamTaiNghe = value; }
        }
        public bool GhiAm
        {
            get { return ghiAm; }
            set { ghiAm = value; }
        }
        public bool NgheNhac
        {
            get { return ngheNhac; }
            set { ngheNhac = value; }
        }
        public bool FMRadio
        {
            get { return fMRadio; }
            set { fMRadio = value; }
        }
        // Constructors
        public ChiTietSanPham ()
        {

        }
        public ChiTietSanPham(int maSP, string heDieuHanh,string ngonNgu,
        string manHinh,string cameraSau,string cameraTruoc,
        string denFlash,string cPU,int soNhan,string ram,string rom,
        string theNhoNgoai,string hoTroToiDa,string kichThuoc,
        int trongLuong,string dungLuongPin,string chuan3G,
        string chuan4G,string loaiSim,string wifi,string gPS,
        bool bluetooth,bool gPRS,string jackCamTaiNghe,bool ghiAm,bool ngheNhac,bool fMRadio)
        {
            this.maSP = maSP;
            this.heDieuHanh = heDieuHanh;
            this.ngonNgu = ngonNgu;
            this.manHinh = manHinh;
            this.cameraSau = cameraSau;
            this.cameraTruoc = cameraTruoc;
            this.denFlash = denFlash;
            this.cPU = cPU;
            this.soNhan = soNhan;
            this.ram = ram;
            this.rom = rom;
            this.theNhoNgoai = theNhoNgoai;
            this.hoTroToiDa = hoTroToiDa;
            this.kichThuoc = kichThuoc;
            this.trongLuong = trongLuong;
            this.dungLuongPin = dungLuongPin;
            this.chuan3G = chuan3G;
            this.chuan4G = chuan4G;
            this.loaiSim = loaiSim;
            this.wifi = wifi;
            this.gPS = gPS;
            this.bluetooth = bluetooth;
            this.gPRS = gPRS;
            this.jackCamTaiNghe = jackCamTaiNghe;
            this.ghiAm = ghiAm;
            this.ngheNhac = ngheNhac;
            this.fMRadio = fMRadio;
        }
    }
}
